package com.zhongjinkang.rhythm.Utils

import android.content.Context
import android.content.Intent
import com.zhongjinkang.rhythm.AppView.Activity.ImageDetailActivity
import com.zhongjinkang.rhythm.AppView.Activity.MainActivity
import com.zhongjinkang.rhythm.AppView.Activity.PeopleDetailActivity

class AppManagementUtil()  {



    fun  jumpToPeopleDetail(peopleId:Long,name:String, context: Context){
        val intent=Intent(context,PeopleDetailActivity::class.java)
        intent.putExtra("peopleId",peopleId)
        intent.putExtra("name",name)
        context.startActivity(intent)
    }

    fun jumpToMain(context: Context){
       context.startActivity(Intent(context, MainActivity::class.java))

    }



}